<template>
	<view class="wrap">
		<view class="nav" :style="{
			background:`url(${params.prefecture == 1 ? exchNav : rushNav})`,
			backgroundSize:'100% 100%'
		}">
			<view class="status_bar">
				
			</view>
			<view class="py-28 px-32">
				<u-icon name="arrow-leftward" color="#FFF" @click="$tab.back()" size="40rpx"></u-icon>
			</view>
		</view>
		
		<view class="content round-20 pt-32 px-20">
			<PrefectureList :params="params"></PrefectureList>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				params:{
					prefecture:2
				},
				exchNav:'https://file.fulewanjia.com/fulewanjia/profile/appImages/common/list_libaozhuanqu@2x.png',
				rushNav:'https://file.fulewanjia.com/fulewanjia/profile/appImages/common/list_jiankangtaocan@2x.png'
			};
		},
		onLoad(e) {
			this.params.prefecture = e.prefecture
		}
	}
</script>



<style lang="scss">
	.wrap,page{
		width: 100%;
		height: 100%;
		background-color: #f8f8f8;
	}
	
	.nav{
		width: 100%;
		height: 320rpx;
	
	}
	
	.content{
		width: 100%;
	}
</style>
